using System;
using System.ComponentModel.DataAnnotations;

namespace Comteck.Dto.Orders {
  /// <summary>
  /// 
  /// </summary>
  public class SelfOrgDto : NotifyViewModel {

    /// <summary>
    /// 自提点id
    /// </summary>
    public virtual int Id { get => _Id; set => SetProperty(ref _Id, value); }
    private int _Id;

    /// <summary>
    /// 自提点名称
    /// </summary>
    [Display(Name = "标签名称")]
    [Required(ErrorMessage = "{0} 不能为空")]
    [MaxLength(length: 500, ErrorMessage = "{0} 最大长度为 {1}.")]
    public virtual string Name { get => _Name; set => SetProperty(ref _Name, value); }
    private string _Name;

    /// <summary>
    /// 自提点联系人
    /// </summary>
    public virtual string Contacts { get => _Contacts; set => SetProperty(ref _Contacts, value); }
    private string _Contacts;

    /// <summary>
    /// 自提点电话
    /// </summary>
    public virtual string Phone { get => _Phone; set => SetProperty(ref _Phone, value); }
    private string _Phone;

    /// <summary>
    /// 自提点地址
    /// </summary>
    public virtual string Address { get => _Address; set => SetProperty(ref _Address, value); }
    private string _Address;

    /// <summary>
    /// 收货人
    /// </summary>
    public virtual string Recipient { get => _Recipient; set => SetProperty(ref _Recipient, value); }
    private string _Recipient;

    /// <summary>
    /// 收货人联系电话
    /// </summary>
    public virtual string RecipientPhone { get => _RecipientPhone; set => SetProperty(ref _RecipientPhone, value); }
    private string _RecipientPhone;

    /// <summary>
    /// 省份
    /// </summary>
    public virtual string Province { get => _Province; set => SetProperty(ref _Province, value); }
    private string _Province;

    /// <summary>
    /// 城市
    /// </summary>
    public virtual string City { get => _City; set => SetProperty(ref _City, value); }
    private string _City;

    /// <summary>
    /// 区县
    /// </summary>
    public virtual string District { get => _District; set => SetProperty(ref _District, value); }
    private string _District;

    /// <summary>
    /// 街道
    /// </summary>
    public virtual string Street { get => _Street; set => SetProperty(ref _Street, value); }
    private string _Street;

    /// <summary>
    /// 详细地址
    /// </summary>
    public virtual string RecipientAddress { get => _RecipientAddress; set => SetProperty(ref _RecipientAddress, value); }
    private string _RecipientAddress;

    ///// <summary>
    ///// 自提点标签id
    ///// </summary>
    //public virtual int? TagId { get => _TagId; set => SetProperty(ref _TagId, value); }
    //private int? _TagId;

    /// <summary>
    /// 自提点标签id集合
    /// </summary>
    public virtual string TagIds { get => _TagIds; set => SetProperty(ref _TagIds, value); }
    private string _TagIds;

    /// <summary>
    /// 创建时间
    /// </summary>
    public virtual DateTime? CreateTime { get => _CreateTime; set => SetProperty(ref _CreateTime, value); }
    private DateTime? _CreateTime;
  }
}
